package cn.buildworld.touching.dao;

import cn.buildworld.touching.pojo.po.OsComment;
import cn.buildworld.touching.pojo.po.OsCommentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OsCommentMapper {
    int countByExample(OsCommentExample example);

    int deleteByExample(OsCommentExample example);

    int deleteByPrimaryKey(Long commentId);

    int insert(OsComment record);

    int insertSelective(OsComment record);

    List<OsComment> selectByExample(OsCommentExample example);

    OsComment selectByPrimaryKey(Long commentId);

    int updateByExampleSelective(@Param("record") OsComment record, @Param("example") OsCommentExample example);

    int updateByExample(@Param("record") OsComment record, @Param("example") OsCommentExample example);

    int updateByPrimaryKeySelective(OsComment record);

    int updateByPrimaryKey(OsComment record);
}